package com.chuangyang.fixboxmaster.ui;

import android.os.Bundle;
import android.widget.TextView;

import com.chuangyang.fixboxlib.utils.StringUtils;
import com.chuangyang.fixboxmaster.BuildConfig;
import com.chuangyang.fixboxmaster.R;

/**
 * Created by vanshu on 15/3/17.
 */
public class AboutActivity extends BaseActivity {
    private TextView appVersion;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        appVersion=(TextView)findViewById(R.id.app_version);
        appVersion.setText("V" + StringUtils.getVersionName(this));
        if (BuildConfig.DEBUG) {
            appVersion.setText("V" + StringUtils.getVersionName(this)+"(内部测试版)");
        }else {
            appVersion.setText("V" + StringUtils.getVersionName(this));
        }
    }
}
